<?php

namespace App\Kuafu\Wechat\Controller\Outside;

use App\Kuafu\Customer\Service\CustomerPlatformService;
use App\Kuafu\Order\Enum\CodeEnum;
use App\Kuafu\Order\Service\OrderService;
use App\Kuafu\Shop\Enum\ShopCodeEnum;
use App\Kuafu\Shop\Service\ShopService;
use App\Kuafu\User\Service\AuthService;
use App\Kuafu\Wechat\Service\H5\H5Service;
use App\Kuafu\Wechat\Service\WechatSendMessageService;
use App\Kuafu\Wechat\Service\WechatService;
use Illuminate\Http\Request;
use App\Kuafu\Base\Controller\BaseController;

class OfficialController extends BaseController
{
    public function getWxConfig(Request $request)
    {
        return $this->success((new H5Service())->getWxConfig([
            'url' => $request->get('url') ?? ''
        ]));
    }
}

